package com.ruoyi.system.frontierEvent.mapper;

import com.ruoyi.system.frontierEvent.bo.TAttachQueryBo;
import com.ruoyi.system.frontierEvent.domain.TAttach;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.frontierEvent.vo.TAttachVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 附件Mapper接口
 *
 * @author ruoyi
 * @date 2021-05-19
 */
public interface TAttachMapper extends BaseMapper<TAttach> {

    List<TAttachVo> selectByShipId(@Param("shipId") Long shipId);


    Integer deleteByFileId(@Param("fileId") String fileId);
}
